<form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
    <div class="table-responsive">
        <table class="table table-bordered table-hover">
            <thead>
            <tr>
                <td style="width: 1px;" class="text-center">
                </td>                
                <td class="text-left">
                    <a href="javascript:sort('user_id');">会员ID</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('user_id');">会员昵称</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('user_id');">手机号</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('region_id');">所属省份</a>
                </td>
                <td class="text-left">
                    操作
                </td>
          <!--      <td class="text-left">
                    <a href="javascript:sort('cat_id');">是否有任务</a>
                </td>     -->

            </tr>
            </thead>
            <tbody>
            <volist name="goodsList" id="list">
                <tr id="send_user_{$list.user_id}">
                    <td class="text-center">
                       <!-- <input type="checkbox" name="selected[]" value="6">-->
                        <input type="hidden" name="shipping_code[]" value="flat.flat">
                    </td>
                    <td class="text-right">{$list.user_id}</td>
                    <td class="text-right">{$list.nickname}</td>
                    <td class="text-right">{$list.mobile}</td>
                    <td class="text-left">{$list.region_name}</td>
                    <td class="text-right">
                        <a href="javascript:void(0);" onclick="del('{$list[user_id]}')" class="btn btn-danger" title="删除"><i class="fa fa-trash-o"></i></a>
                    </td>
       <!--             <td class="text-left">{$list.goods_sn}</td>
                    <td class="text-left">{$catList[$list[cat_id]][name]}</td>
                    <td class="text-left">{$list.shop_price}</td>-->

             <!--       <td class="text-center">
                        <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onpaste="this.value=this.value.replace(/[^\d]/g,'')" onchange="updateSalesSum('goods','goods_id','{$list.goods_id}','sales_sum',this)" size="4" value="{$list.sales_sum}" />
                    </td>-->
               <!--     <td class="text-right">
                        <a  target="_blank" href="{:U('Home/Goods/introduction',array('id'=>$list['goods_id']))}" class="btn btn-info" title="查看详情"><i class="fa fa-eye"></i></a>
                        <a  target="_blank" href="{:U('Admin/Order/addOrderManyUI',array('id'=>$list['goods_id']))}" class="btn btn-info" title="添加评价"><i class="fa fa-eye"></i></a>
                        <a href="{:U('Admin/Goods/addEditGoods',array('id'=>$list['goods_id']))}" class="btn btn-primary" title="编辑"><i class="fa fa-pencil"></i></a>

                        <a href="javascript:void(0);" onclick="ClearGoodsHtml('{$list[goods_id]}')" class="btn btn-default" title="清除静态缓存页面"><i class="fa fa-fw fa-refresh"></i></a>
                        <a href="javascript:void(0);" onclick="ClearGoodsThumb('{$list[goods_id]}')" class="btn btn-default" title="清除缩略图缓存"><i class="glyphicon glyphicon-picture"></i></a>
                    </td>  -->
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</form>
<div class="row">
    <div class="col-sm-3 text-left"></div>
    <div class="col-sm-9 text-right">{$page}</div>
</div>
<script>
    // 点击分页触发的事件
    $(".pagination  a").click(function(){
        cur_page = $(this).data('p');
        ajax_get_table('search-form2',cur_page);
    });
	
    /*
     * 清除静态页面缓存
     */
    function ClearGoodsHtml(goods_id)
    {
    	$.ajax({
				type:'GET',
				url:"{:U('Admin/System/ClearGoodsHtml')}",
				data:{goods_id:goods_id},
				dataType:'json',
				success:function(data){
					layer.alert(data.msg, {icon: 2});								 
				}
		});
    }
    /*
     * 清除商品缩列图缓存
     */
    function ClearGoodsThumb(goods_id)
    {
    	$.ajax({
				type:'GET',
				url:"{:U('Admin/System/ClearGoodsThumb')}",
				data:{goods_id:goods_id},
				dataType:'json',
				success:function(data){
					layer.alert(data.msg, {icon: 2});								 
				}
		});
    }		
</script>